package LexPortal.DAOInterface;

import LexPortal.Entity.Category;
import java.util.*;

public interface CategoryDAO {
	public void Insert(Category category) throws Exception;

	public void Update(Category category) throws Exception;

	public void Delete(int id) throws Exception;

	public Category QueryById(int id) throws Exception;
	
	public List<Category> GetAllCategory() throws Exception;
	
	public List<Category> GetSubCategory()  throws Exception;
}
